<template>
  <div class="notfound">
    <h1>404</h1>
    <button @click="back">返回首页</button>
  </div>
</template>

<script>
export default {
  methods: {
    back() {
      this.$router.push({ name: 'Home' })
    }
  }
}
</script>

<style>
</style>
